package com.weichen.studentgameexchange.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;
import lombok.Getter;

/**
 * 功能：
 * 作者：惟尘
 * 日期：2025/1/25 20:32
 */
@Getter
public enum UserStatus {
    NEWCREATE(0,"新创建"),
    PASS(1,"审核通过"),
    NOPASS(2,"审核不通过"),
    CREATE(3,"创建成功"),
    FAIL(4,"舍弃");
    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    UserStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
